package cn.edu.scau.cmi.wuyihan.exercise8.Example8_5;

public class BankException extends Exception {
       String message;
       public BankException(int m,int n) {
    	   message="入账资金"+m+"是负数或支出"+n+"是正数，不符合系统要求。";
       }
       public String warnMessage() {
    	   return message;
       }
}
